import java.io.IOException;
import java.sql.*;
import java.util.Scanner;
public class Main
{
    static ResultSet shuchu=null;
    static Statement stmt=null;
    public static void main(String args[]) throws  Exception {
        Scanner in = new Scanner(System.in);
            Class.forName("com.mysql.cj.jdbc.Driver");
            Connection conn = DriverManager.getConnection("jdbc:mysql://127.0.0.1/wyh?useUnicode=true&characterEncoding=utf-8&serverTimezone=UTC&useSSL=true", "root", "");
            stmt = conn.createStatement();
            for (int i = 0; i < 1000; i++) {
                String sql = "insert into user values("+i+",'wuyuhao"+i+"'"+");";
                int count = stmt.executeUpdate(sql);
            }
        stmt.close();
        conn.close();
    }
    }

